'use strict';
var Q = require('q');
var _ = require('underscore');
var config = require('../../config');
var Schema = require('jugglingdb').Schema;
var async = require('async');
var E = require('../../error');
//设置API db链接
var schema = new Schema('mysql', config.db.erp);

var M = require('../../utils/schema/simpleModel')(schema.adapter);
module.exports = M;
require('./func/inventory')(M);
